﻿using System;
using System.Runtime.Serialization;

namespace WebService.Service.Transfer {

    [DataContract]
    public class SearchPurchaseRecordRequest {
        
        [DataMember]
        public int Offset { get; set; }

        [DataMember]
        public int Limit  { get; set; }

        [DataMember]
        public string ProductName { get; set; }

        [DataMember]
        public int? Location { get; set; }

        [DataMember]
        public double? Price { get; set; }

        [DataMember]
        public DateTime? PurchaseDate { get; set; }

        [DataMember]
        public string OperatorId { get; set; }

        [DataMember]
        public string PostOperatorId { get; set; }

        public SearchPurchaseRecordRequest() {
            Limit = 1000;
        }
    }
}